# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo08
# Description:
# Author:       98745
# Date:         2019/3/14
#-------------------------------------------------------------------------------

import pandas
s=pandas.DataFrame({
    'name':['li','liang'],
    'o':['china','japan'],
    'b':['1920','1879'],
    'd':['1987','1987'],
    'a':[37,62]
})
print(s)
s=pandas.DataFrame({
    'name':['li','liang'],
    'o':['china','japan'],
    'b':['1920','1879'],
    'd':['1987','1987'],
    'a':[37,62]
},columns=('o','b','d','a'),index=['li','liang'])
print(s)